#ifdef RT_USE_OLD_CONN_WRAP

#include "RtBase.h"
#include "RtSessionInterface.h"
#include "RtSessionOneForwardMany.h"

CRtSessionManager CRtSessionManager::s_rtSessionManagerSingleton;

CRtSessionManager::CRtSessionManager()
{
}

CRtSessionManager::~CRtSessionManager()
{
}

CRtSessionManager* CRtSessionManager::Instance()
{
	return &s_rtSessionManagerSingleton;
}

RtResult CRtSessionManager::
CreateSessionForward(IRtSessionOneForwardMany *&aForward)
{
	aForward = new CRtSessionOneForwardMany();
	if (aForward) {
		aForward->AddReference();
		return RT_OK;
	}
	else
		return RT_ERROR_OUT_OF_MEMORY;
}

#endif // RT_USE_OLD_CONN_WRAP
